import instance from './btnregister'
// 用户信息
function chartlist () {
  return instance({
    url: '/data/title',
    method: 'post',
    headers: {
      token: window.localStorage.getItem('token')
    }
  })
}
// 图表
function statistics () {
  return instance({
    url: '/data/statistics',
    method: 'post',
    headers: {
      token: window.localStorage.getItem('token')
    }
  })
}
export { chartlist, statistics }
